package com.ngm.tea.tea.entity;

import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 商品大类实体
 * @author zjw
 * @version 1.0
 * @date 2017-01-03 16:18:48
 *
 */
@JsonIgnoreProperties(value = {"id"}) 
public class Goods {
	/** 标识 */
	private Long id;
	
	/** 名称 */
	private String name;
	
	/** 类型 */
	private String type;
	
	/** 商品实例 */
	@JsonProperty("foods")
	private List<Foods> foodss = new ArrayList<Foods>(0);
	
	public Goods() {
	}
	
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	public List<Foods> getFoodss() {
		return foodss;
	}

	public void setFoodss(List<Foods> foodss) {
		this.foodss = foodss;
	}
	
}